package com.meilai.project.dto.business.building;

import com.meilai.project.dto.thirdPart.LocationPoint;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author 张驰
 * @date 2021/5/13 14:11
 */
@Data
public class MapPointDTO {
    private BigDecimal lat;
    private BigDecimal lng;
    private Long adcode;
    private LocationPoint sw;
    private LocationPoint ne;

    public MapPointDTO() {
    }

    public MapPointDTO(BigDecimal lat, BigDecimal lng) {
        this.lat = lat;
        this.lng = lng;
    }

    public MapPointDTO(BigDecimal lat, BigDecimal lng, Long adcode) {
        this.lat = lat;
        this.lng = lng;
        this.adcode = adcode;
    }

    public MapPointDTO(BigDecimal lat, BigDecimal lng, Long adcode, LocationPoint sw, LocationPoint ne) {
        this.lat = lat;
        this.lng = lng;
        this.adcode = adcode;
        this.sw = sw;
        this.ne = ne;
    }
}
